package com.ddxcloud.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddxcloud.movie.dto.WxLoginDTO;
import com.ddxcloud.movie.entity.User;
import me.chanjar.weixin.common.error.WxErrorException;

public interface UserService extends IService<User> {

    User getUserByMobile(String mobile);

    User loginByWechat(WxLoginDTO dto) throws WxErrorException;
}
